<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); ?>

<?php
$attributes = array(
    'class' => 'control-label',
);
?>

<div class="navbar navbar-inverse navbar-fixed-top">
    <div class="navbar-inner">
        <div class="container-fluid">
            <img style="height: 34px; position: absolute; top: 3px; left: 25px;" src="<?php echo base_url() ?>template-admin/img/logo.png" alt="SSAP" />
            <span style="margin-left: 15px;" class="brand">SSAP - Acceso</span>
        </div>
    </div>
</div>

<div class="container-fluid">
    <div class="row-fluid login">
        <div class="span4">&nbsp;</div>
        <div class="span4">
            <div class="hero-unit">
                <?php echo get_message(); ?>
                <?php echo form_open('acceso/acceder'); ?>
                <div class="control-group">
                    <?php echo form_label('Usuario', 'usuario', $attributes); ?>
                    <div class="controls">
                        <?php echo form_input(array('name' => 'usuario', 'type' => 'text', 'placeholder' => 'Usuario')); ?>
                    </div>
                </div>
                <div class="control-group">
                    <?php echo form_label('Contraseña', 'Contrasenia', $attributes); ?>
                    <div class="controls">
                        <?php echo form_input(array('name' => 'contasenia', 'type' => 'password', 'placeholder' => 'Contraseña')); ?>
                    </div>
                </div>
                <div class="control-group">
                    <div class="controls">
                        <?php echo form_input(array('name' => 'submit', 'type' => 'submit', 'value' => 'Ingresar', 'class' => 'btn')); ?>
                    </div>
                </div>
                <?php echo form_close(); ?>
            </div>
        </div>
        <div class="span4">&nbsp;</div>
    </div>